package com.song.eduservice.hystrix;

import com.song.eduservice.client.ossfeign.OosFeign;
import org.springframework.stereotype.Component;
import org.springframework.web.multipart.MultipartFile;

/**
 * @author song
 * @data 2020/4/3
 */
@Component
public class OssHystrixFactory implements OosFeign {
    @Override
    public String uploadFileAvatar(MultipartFile file) {
        System.out.println("上传图片失败");
        return "上传图片失败";
    }
}
